<Joyeasy:list sql="SELECT * FROM `wode_category` where id=$parentid" id="r">					
    <!--二级banner-->
	<div class="erjibanner">
		<img src="{$r.image}" style="width:100%;height:309px;" />
	</div>
    <!--二级banner-->
    <!--二级content-->
	<div class="content">
		<div class="content_n">
			<div class="ejleft">
				<div class="ejleft_s">
				{$r.catname}
				</div>
				<div class="ejleft_x">
                    <Joyeasy:list sql="SELECT * FROM `wode_category` where parentid=$r[id] order by listorder asc,id asc" id="rs">					
                        <if condition="$rs.id eq $catid">
                            <a href="{$rs.url}" style="color:#70bb2b;background:url(../Public/images/ejm.png) no-repeat;">{$rs.catname}</a>
                        <else />
                            <a href="{$rs.url}">{$rs.catname}</a>
                        </if>
                    </Joyeasy:list>
				</div>
			</div>
			<div class="erjiright">
			{$content}
			</div>
			<div class="clear"></div>
		</div>
	</div>
    <!--二级content-->
</Joyeasy:list>
